package com.xgzit.xgzmall.order.dto;

import com.xgzit.xgzmall.order.entity.OrderEntity;
import com.xgzit.xgzmall.order.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 订单创建
 * @Author xgz
 * @Date 2021-06-29 21:57
 */
@Data
public class OrderCreateDto {

    /** 订单 **/
    private OrderEntity order;

    /** 订单项 **/
    private List<OrderItemEntity> items;

    /** 订单应付价格 **/
    private BigDecimal payPrice;

    /** 运费 **/
    private BigDecimal fare;
}
